package com.txzt.gaea.business.fund.service;

import com.txzt.gaea.business.fund.domain.model.FundApply;
import com.txzt.gaea.common.base.service.BaseService;

import java.util.List;
import java.util.Map;

public interface IFundApplyService extends BaseService<FundApply> {

    /**
     * id查询
     * @param id
     * @return
     */
    public FundApply selectFundApplyById(Long id);

    /**
     * 新增经费请领
     * @param fundApply
     * @return
     */
    public int addFundApply(FundApply fundApply);


    /**
     * 编辑经费请领
     * @param fundApply
     * @return
     */
    public int editFundApply(FundApply fundApply);


    /**
     * 通过经费请领
     * @param fundApply
     * @return
     */
    public int passFundApply(FundApply fundApply);


    /**
     * 退回经费请领
     * @param fundApply
     * @return
     */
    public int backFundApply(FundApply fundApply);


    /**
     * 不通过经费请领
     * @param fundApply
     * @return
     */
    public int rejectFundApply(FundApply fundApply);

    List<Map> getTotalNum();
}
